net/http.http2ClientConn.singleUse (field)
7 uses
net/http (current package)
h2_bundle.go#L7479: singleUse bool // whether being used for a single http.Request
h2_bundle.go#L7927: singleUse: singleUse,
h2_bundle.go#L8138: Closing: cc.closing || cc.singleUse || cc.doNotReuse || cc.goAway != nil,
h2_bundle.go#L8160: if cc.singleUse && cc.nextStreamID > 1 {
h2_bundle.go#L8236: cc.vlogf("http2: Transport closing idle conn %p (forSingleUse=%v, maxStream=%v)", cc, cc.singleUse, nextID-2)
h2_bundle.go#L9369: closeOnIdle := cc.singleUse || cc.doNotReuse || cc.t.disableKeepAlives() || cc.goAway != nil
h2_bundle.go#L9372: cc.vlogf("http2: Transport closing idle conn %p (forSingleUse=%v, maxStream=%v)", cc, cc.singleUse, cc.nextStreamID-2)
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |